package com.fjrcloud.utils;

/**
 * Author: Trun
 * Date: 2016-11-22.
 * Description:
 */
public class PageUtils {


    public static Integer checkPageNum(Integer pageNum) {
        if (pageNum == null) {
            pageNum = 0;
        }
        return pageNum;
    }

    public static Integer checkPageSize(Integer pageSize) {

        if (pageSize == null) {
            pageSize = Integer.MAX_VALUE;
        }
        return pageSize;
    }


}
